﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Petra.Gis.ImagingServices.Tiff
{
  public partial class ImageFileDirectory
  {

    internal void prepareDateTime(Tag tag)
    {
      dateTime = tag.getString();
      if (dateTime != null)
      {
        dateTime = dateTime.Trim();
      }
      /*
      if (dateTime != null)
      {
        SimpleDateFormat format = new SimpleDateFormat("yyyy:MM:dd HH:mm:ss");
        if (timeZone != null)
        {
          format.setCalendar(new GregorianCalendar(timeZone));
        }
        try
        {
          date = format.parse(dateTime);
        }
        catch (ParseException pe)
        {
          date = null;
        }
          
      }
       */
    }
  }
}
